﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProjMin.Forms {
    public partial class LoginWindow : Form {
        public LoginWindow() {
            InitializeComponent();
        }

        private void LoginWindow_FormClosing(object sender, FormClosingEventArgs e) {
            e.Cancel = true;
        }

        private void pictureBox1_Click(object sender, EventArgs e) {

        }

        private void button1_Click(object sender, EventArgs e) {
            //Fecha o Progrma pois não foi executado login            
            Environment.Exit(0);
        }

        private void LoginWindow_KeyPress(object sender, KeyPressEventArgs e) {
            if (e.KeyChar == 13) {
                // Enter Key 
                // Chama o método de login
            }


        }
    }
}
